import axios from 'axios'

// 配置请求头
const request = axios.create({
  baseURL: 'https://www.liulongbin.top:8888/api/private/v1/'
})

// 请求拦截器
request.interceptors.request.use(config => {
  // console.log(config)
  config.headers.Authorization = window.sessionStorage.getItem('token')
  return config
})

export default request
